package request

type ContentList struct {
	Page     int32  `json:"page" form:"page" binding:"required"`
	PageSize int32  `json:"page_size" form:"page_size" binding:"required"`
	Title    string `form:"title" form:"title" binding:"required"`
}

// 内容详情
type ContentDetails struct {
	Id int32 `json:"id" form:"id" binding:"required"`
}
type UserContent struct {
	Page         int32  `json:"page" form:"page" binding:"required"`
	PageSize     int32  `json:"page_size" form:"page_size" binding:"required"`
	Region       int32  `json:"region" form:"region" binding:"required"`
	Title        string `form:"title"`         // 标题
	Details      string `form:"details"`       // 内容详情
	CoverUrl     string `form:"cover_url"`     // 封面图
	CategoryTag  string `form:"category_tag"`  // 分类标签
	ViewCount    int32  `form:"view_count"`    // 浏览量
	LikeCount    int32  `form:"like_count"`    // 点赞量
	CollectCount int32  `form:"collect_count"` // 收藏量
	ContentId    int32  `form:"content_id"`
}
